home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
print
/
prtsc.arc
/
PS.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1988-01-13
|
928b
|
38 lines
Program TSR_Print_Screen;
{This program replaces the int 5 print screen routine with a new
routine for use with Novell ELS servers}
Uses DOS;
Procedure Print_Screen;
Interrupt;
var
i:Integer;
Base:Word;
lst:text;
monomode:Boolean;
Begin
MonoMode:=(Mem[$0000:$0449]=7);
If monomode then base:=$b000 else base:=$b800;
assign(lst,'lpt1');
rewrite(lst);
For i:=0 to 2000 do
begin
Write(Lst,chr(mem[base:i*2]));
if (i+1) mod 80=0 then writeln(lst);
end;
close(lst);
End;
Procedure Install_Print_Screen;
Begin
inline($fb);
SetIntVec(5,@Print_Screen);
inline($fa);
End;
begin
Writeln('Novell ELS print screen utitility');
Writeln('Copyright 1988 Rochester Business Computers');
Install_Print_Screen;
keep(0);
end.